package com.fk.crm.workbench.dao;

import com.fk.crm.workbench.domain.Activity;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author 小K
 * @date 2022/2/14 0014 - 下午 23:30
 */
public interface ActivityDao {

     int save(Activity a);

     int getTotalByCondition(Map<String, Object> map);

     List<Activity> getActivityListByCondition(Map<String, Object> map);

     int delete(String[] ids);

     Activity getById(String id);

     int update(Activity a);

     Activity detail(String id);

    List<Activity> getActivityListByClueId(String clueId);

     List<Activity> getActivityListByNameAndNotByClueId(HashMap<String, String> map);

    List<Activity> getActivityListByName(String aname);
}
